<tr>
    <td><?php print $path; ?>&gt;<a href="<?php print ($menu['parent'] != null) ? site_url('menu/list_menu/'.$menu['id']) : 'javascript:void(0);' ?>"><?php print $menu['name'];?></a></td>
    <td><?php if($menu['parent'] != null):?>
            <a href="<?php print site_url('menu/list_menu/'.$menu['id']);?>"><img src="<?php print base_url('template/admin'); ?>/img/icons/icon-view.gif" alt="Edit" /></a>
        <?php endif;?>
    </td>
    <td><a target="_blank" href="<?php print menu_frontend_url( $menu['link'] );?>"><img src="<?php print base_url('template/admin'); ?>/img/icons/icon-view.png" alt="Edit" /></a></td>
    <td><?php print $menu['id'];?></td>
    <td>
        <?php if($menu['previous'] != 0): ?>
        <a href="<?php print site_url('menu/display_orther/'.$menu['id'].'/'.$menu['previous']);?>" title=""><img src="<?php print base_url('template/admin'); ?>/img/icons/icon-arrow-up.gif" alt="Edit" /></a>
        <?php endif; ?>
        
        <?php if($menu['next'] != 0):?>
        <a href="<?php print site_url('menu/display_orther/'.$menu['id'].'/'.$menu['next']);?>" title=""><img SRC="<?php print base_url('template/admin'); ?>/img/icons/icon_arrow_down.png" alt="Edit" /></a>
        <?php endif; ?>
    </td>
    <td>
        <?php if($menu['status'] == 1):?>
        <a href="<?php print site_url('menu/status/unapprove/'.$menu['id']); ?>" title=""><img SRC="<?php print base_url('template/admin'); ?>/img/icons/icon_approve.png" alt="Approve" /></a>
        <?php else :?>
        <a href="<?php print site_url('menu/status/approve/'.$menu['id']); ?>" title=""><img SRC="<?php print base_url('template/admin'); ?>/img/icons/icon_unapprove.png" alt="Unapprove" /></a>
        <?php endif;?>
    </td>
    <td>
        <a href="<?php print site_url('menu/edit/'.$menu['id']); ?>" title=""><img SRC="<?php print base_url('template/admin'); ?>/img/icons/icon_edit.png" alt="Edit" /></a>
        <a href="#" title=""><img SRC="<?php print base_url('template/admin'); ?>/img/icons/icon_delete.png" alt="Delete" /></a>
    </td>
    <td><input type="checkbox" value="" name="checkall" /></td>
</tr>
